package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Customer;
import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.query.CustomerQuery;
import cn.wolfcode.rbac.query.PageResult;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public abstract interface ICustomerService {
    //分页
    public abstract PageInfo query(CustomerQuery paramQueryObject);

    public abstract PageInfo query0(CustomerQuery paramQueryObject);

    public abstract PageInfo query1(CustomerQuery paramQueryObject);

    public abstract PageInfo query2(CustomerQuery paramQueryObject);

    public abstract PageInfo query3(CustomerQuery paramQueryObject);

    public abstract PageInfo query4(CustomerQuery paramQueryObject);

    public abstract void saveOrUpdate(Customer customer);

    public abstract void delete(Long paramLong);

    public abstract Customer get(Long paramLong);

    public abstract List<Customer> list();

    public abstract void updateStatus(Long customerId, Integer status);
}
